﻿html, body, div, aside, ul, li, a
{
    margin: 0;
    padding: 0;
}

.linear-gradient(@from-color, @from-pos, @to-color, @to-pos)
{
    background: @from-color; /* Old browsers */
    background: -moz-linear-gradient(top,  @from-color @from-pos, @to-color @to-pos); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(@from-pos,@from-color), color-stop(@to-pos,@to-color)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  @from-color @from-pos,@to-color @to-pos); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  @from-color @from-pos,@to-color @to-pos); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  @from-color @from-pos,@to-color @to-pos); /* IE10+ */
    background: linear-gradient(to bottom,  @from-color @from-pos,@to-color @to-pos); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@{from-color}', endColorstr='@{to-color}',GradientType=0 ); /* IE6-9 */
}

body
{
    width: 960px;
    font-family: Arial, 'DejaVu Sans', 'Liberation Sans', Freesans, sans-serif;
    font-size: 16px;

    div#wrapper
    {
        aside
        {
            display: inline-block;
            .linear-gradient(#D29BFF, 0%, #8977FF, 100%);
            border-radius: 10px;
            margin: 10px 20px;
            ul
            {
                list-style-type: none;
            }

            a
            {
                text-decoration: none;
                font-family: Arial, 'DejaVu Sans', 'Liberation Sans', Freesans, sans-serif;
                font-size: 16px;
                color: black;
            }

            > ul 
            {
                padding: 5px 0px;
                list-style-type: none;
                > li 
                {
                    position: relative;
                    padding: 5px 15px;
                    margin: 0px 15px;
                    border-bottom: 1px solid #9D00FF;
                    ul
                    {
                        display: none;
                    }

                    > a
                    {
                        font-size: 1.4em;
                    }
                                         
                    &:last-of-type
                    {
                        border-bottom: none;
                    }
                }

                > li:hover
                {
                    border: 1px solid #9D00FF;
                    border-radius: 5px;
                    > ul 
                    {
                        position: absolute;
                        left: 190px;
                        top: -5px;
                        background-color: #B5AAFF;
                        border-radius: 10px;
                        display: inline-block;
                        padding: 5px 0px;
                        padding-left: 5px;

                        background-image:url('imgs/arrow.png');
                        background-repeat:no-repeat;
                        background-position: 5px 15px;

                        > li
                        {
                            padding-top: 5px;
                            padding-bottom: 5px;
                            margin-top: 0px;
                            margin-bottom: 0px;
                            margin-left: 15px;
                            margin-right: 5px;
                            border-bottom: 1px solid #9D00FF;
                            width: 210px;
                            text-align: center;

                            > a
                            {
                                font-size: 1.1em;
                            }

                            &:last-of-type
                            {
                                border-bottom: none;
                            }

                            &:hover
                            {
                                border: 1px solid #9D00FF;
                                border-radius: 5px;
                            }

                        }
                    }
                }
            }
        }
    }
}
